This folder contains the data of the two experimental tests used to find the probability distribution that a participant will vote for option A or B or abstain given the sample presented. "sample_5.csv" contains the data for the experiment in which we showed participants a sample of 5 votes. "sample_9.csv" contains the data for the experiment in which we showed participants a sample of 9 votes.

empirical_distribution.py performs the analysis of the experiments to generate the empirical probability distributions used to determine the optimal parameters for the experiments with abstentions. These correspond to the figures "emp_dist_5.png" and "emp_dist_9.png" in the folder and Figure S18 of the Supplementary Information.

######## DATA ORGANISATION AND FORMATTING #########
In each .csv file, the data of a participant corresponds to a line of the table. X votes and Y votes are also denoted A and B, respectively, or numerically as 0 and 1. Abstentions are denoted numerically as 2. The data contains the details of the number of wins of each participant, their rank, if they dropped out, the order of the decision options they observed in the screen (e.g., [2 1 0] means that the participant saw the Abstention option on the left, voting B in the middle and voting A on the right in the first round), the colours of the voting options and the abstention option and the ID within the group (an index from 1 to the size of the group). This information does not allow for identification of any participants.

The data for each round is presented in subsequent columns of the file. The headers follow the pattern "empirical_dist.[round number].[player or group].[property]".

The properties for "player" are participant dependent. They can be the participant's vote in the round ("0" indicates voting A, "1" indicates voting B and "2" indicates abstaining), how much they spent in the round, how much they earned in the round, the sample shown in the round (in this case the samples are exactly the same to all participants). Properties of the "group" are the same for all participants in the group and are the total number of A, B and Abstain votes in the round, and the winning party (A, B or None - if there was a tie).

Examples: 
+ empirical_dist.45.player.election_vote is the column containing the chosen options of each participant (one per row) in the 45th round of the game.
